package xinxin.com.ProxyPattern;

import xinxin.com.ProxyPattern.Proxy.Proxy;
import xinxin.com.ProxyPattern.Pursuit.Pursuit;
import xinxin.com.ProxyPattern.SchoolGirl.SchoolGirl;

public class ProxyPattern {
    public static void main(String[] args) {
        SchoolGirl xiaowei = new SchoolGirl();
        Proxy shixinxin = new Proxy(xiaowei);
        shixinxin.GiveDolls();
        shixinxin.GiveFlowers();
        shixinxin.GiveChocolate();
    }
}
